package com.lm.upms.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 客户端
 *
 * @author lm
 * @date 2019-09-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_oauth_client_details")
public class SysOauthClientDetails extends Model<SysOauthClientDetails> {

    /**
     * 主键,用于唯一标识每一个客户端(client)
     */
    @TableId
    private String clientId;
    /**
     * 客户端能访问的资源id集合
     */
    private String resourceIds;
    /**
     * 客户端(client)的访问密匙
     */
    private String clientSecret;
    /**
     * 指定客户端申请的权限范围
     */
    private String scope;
    /**
     * 授权码模式
     */
    private String authorizedGrantTypes;
    /**
     * 客户端的重定向URI
     */
    private String webServerRedirectUri;
    /**  */
    private String authorities;
    /**  */
    private Integer accessTokenValidity;
    /**  */
    private Integer refreshTokenValidity;
    /**  */
    private String additionalInformation;
    /**  */
    private String autoapprove;

}
